<!DOCTYPE html>
<!-- saved from url=(0078)http://localhost:8080/jeesite-master/a/company/system/systemFunction/form?id=1 -->
<html style="overflow-x:auto;overflow-y:auto;" xmlns:th="http://www.thymeleaf.org"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>菜单管理 - Powered By JeeSite</title>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><meta name="author" content="http://jeesite.com/"/>
<meta name="renderer" content="webkit"><meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10" />
<meta http-equiv="Expires" content="0"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Cache-Control" content="no-store">
	<script th:src="@{jquery/jquery-1.8.3.min.js}" type="text/javascript"></script>
	<link th:href="@{bootstrap/2.3.1/css_cerulean/bootstrap.min.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{bootstrap/2.3.1/js/bootstrap.min.js}" type="text/javascript"></script>
	<link th:href="@{bootstrap/2.3.1/awesome/font-awesome.min.css}" type="text/css" rel="stylesheet" />
	<!--[if lte IE 7]><link th:href="@{bootstrap/2.3.1/awesome/font-awesome-ie7.min.css}" type="text/css" rel="stylesheet" /><![endif]-->
	<!--[if lte IE 6]><link th:href="@{bootstrap/bsie/css/bootstrap-ie6.min.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{bootstrap/bsie/js/bootstrap-ie.min.js}" type="text/javascript"></script><![endif]-->
	<link th:href="@{jquery-select2/3.4/select2.min.css}" rel="stylesheet" />
	<script th:src="@{jquery-select2/3.4/select2.min.js}" type="text/javascript"></script>
	<link th:href="@{jquery-validation/1.11.0/jquery.validate.min.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{jquery-validation/1.11.0/jquery.validate.min.js}" type="text/javascript"></script>
	<link th:href="@{jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css}" rel="stylesheet" />
	<script th:src="@{jquery-jbox/2.3/jquery.jBox-2.3.min.js}" type="text/javascript"></script>
	<script th:src="@{My97DatePicker/WdatePicker.js}" type="text/javascript"></script>
	<script th:src="@{common/mustache.min.js}" type="text/javascript"></script>
	<link th:href="@{common/jeesite.css}" type="text/css" rel="stylesheet" />
	<script th:src="@{common/jeesite.js}" type="text/javascript"></script>

<script type="text/javascript">var ctx = '../a', ctxStatic='../static';</script>
	<!-- Baidu tongji analytics --><script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="//hm.baidu.com/hm.js?82116c626a8d504a5c0675073362ef6f";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s);})();</script>
	
	
	<meta name="decorator" content="default">
	<script type="text/javascript">
		$(document).ready(function() {
			//$("#name").focus();
			$("#inputForm").validate({
				submitHandler: function(form){
					loading('正在提交，请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误，请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			});
		});
	</script>

</head>
<body>
	
	<ul class="nav nav-tabs">
		<li><a href="../menuList/saved_resource.html">菜单列表</a></li>
		<li class="active"><a href="saved_resource_unEdit.html">菜单修改</a></li>
	</ul><br>
	<form id="inputForm" class="form-horizontal" action="#" method="post" novalidate="novalidate">
		<input id="id" name="id" type="hidden" value="1">
		














<script type="text/javascript">top.$.jBox.closeTip();</script>
	
		<div class="control-group">
			<label class="control-label">上级菜单:</label>
			<div class="controls">
                




<div class="input-append">
	<input id="parent_Id" name="parentid" class="required" type="hidden" value="">
	<input id="parent_Name" name="funcnames" readonly="readonly" type="text" value="" data-msg-required="" class="required" style=""><a id="parent_Button" href="javascript:" class="btn  " style="">&nbsp;<i class="icon-search"></i>&nbsp;</a>&nbsp;&nbsp;
</div>
<script type="text/javascript">
	$("#parent_Button, #parent_Name").click(function(){
		// 是否限制选择，如果限制，设置为disabled
		if ($("#parent_Button").hasClass("disabled")){
			return true;
		}
		// 正常打开	
		top.$.jBox.open("iframe:/jeesite-master/a/tag/treeselect?url="+encodeURIComponent("/company/system/systemFunction/treeData")+"&module=&checked=&extId=&isAll=", "选择菜单", 300, 420, {
			ajaxData:{selectIds: $("#parent_Id").val()},buttons:{"确定":"ok", "关闭":true}, submit:function(v, h, f){
				if (v=="ok"){
					var tree = h.find("iframe")[0].contentWindow.tree;//h.find("iframe").contents();
					var ids = [], names = [], nodes = [];
					if ("" == "true"){
						nodes = tree.getCheckedNodes(true);
					}else{
						nodes = tree.getSelectedNodes();
					}
					for(var i=0; i<nodes.length; i++) {//
						ids.push(nodes[i].id);
						names.push(nodes[i].name);//
						break; // 如果为非复选框选择，则返回第一个选择  
					}
					$("#parent_Id").val(ids.join(",").replace(/u_/ig,""));
					$("#parent_Name").val(names.join(","));
				}//
				if(typeof parent_TreeselectCallBack == 'function'){
					parent_TreeselectCallBack(v, h, f);
				}
			}, loaded:function(h){
				$(".jbox-content", top.document).css("overflow-y","hidden");
			}
		});
	});
</script>
			</div>
		</div>	
		<div class="control-group">
			<label class="control-label">权限名称：</label>
			<div class="controls">
				<input id="funcname" name="funcname" class="input-xlarge required" type="text" value="系统设置" maxlength="50" disabled="disabled">
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">权限链接：</label>
			<div class="controls">
				<input id="funcurl" name="funcurl" class="input-xlarge " type="text" value="" maxlength="255"
				 disabled="disabled">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">权限类型：</label>
			<div class="controls">

				<select id="functype" name="functype"  class="select2-offscreen"  disabled="disabled">
					<option value="0" selected="selected">菜单</option>
					<option value="1">按钮</option>
				</select>
			</div>
		</div>
<!-- 		<div class="control-group"> -->
<!-- 			<label class="control-label">父编号：</label> -->
<!-- 			<div class="controls"> -->

<!-- 			</div> -->
<!-- 		</div> -->
<!-- 		<div class="control-group"> -->
<!-- 			<label class="control-label">图标样式：</label> -->
<!-- 			<div class="controls"> -->

<!-- 			</div> -->
<!-- 		</div> -->
<!-- 		<div class="control-group"> -->
<!-- 			<label class="control-label">图标路径：</label> -->
<!-- 			<div class="controls"> -->

<!-- 			</div> -->
<!-- 		</div> -->
		<div class="control-group">
			<label class="control-label">排序：</label>
			<div class="controls">
				<input id="sortnum" name="sortnum" class="input-xlarge " type="text" value="0" maxlength="11"
				 disabled="disabled">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">状态：</label>
			<div class="controls">
				<select id="status" name="status" class="input-xlarge" disabled="disabled">
					<option value=""></option>
					<option value="0" selected="selected">正常</option><option value="1">删除</option>
				</select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">备注信息：</label>
			<div class="controls">
				<input id="funcnote" name="funcnote" class="input-xlarge " type="text" value="" maxlength="255"
				 disabled="disabled">
			</div>
		</div>
		<div class="form-actions">
			<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"  disabled="disabled">&nbsp;
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)">
		</div>
	</form>

	<script type="text/javascript">//<!-- 无框架时，左上角显示菜单图标按钮。
		if(!(self.frameElement && self.frameElement.tagName=="IFRAME")){
			$("body").prepend("<i id=\"btnMenu\" class=\"icon-th-list\" style=\"cursor:pointer;float:right;margin:10px;\"></i><div id=\"menuContent\"></div>");
			$("#btnMenu").click(function(){
				top.$.jBox('get:/jeesite-master/a/sys/menu/treeselect;JSESSIONID=b30d2fa0f4264f6288e0788088ab4b22', {title:'选择菜单', buttons:{'关闭':true}, width:300, height: 350, top:10});
				//if ($("#menuContent").html()==""){$.get("/jeesite-master/a/sys/menu/treeselect", function(data){$("#menuContent").html(data);});}else{$("#menuContent").toggle(100);}
			});
		}//-->
	</script>

</body></html>